import request from 'umi-request';
import type { ResultVOListTestCase } from '@/types/openapi';

export async function getSampleTestCases(problemId: number) {
  return request<ResultVOListTestCase>(`/api/test-cases/sample/problem/${problemId}`);
}
